﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderMasterForm.aspx.cs"
    Inherits="OrderManage.WebApp.SystemManage.OrderMasterForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

    <script src="../lib/boot.js" type="text/javascript"></script>

</head>
<body>
    <div class="mini-toolbar" style="padding: 2px; border-bottom: 0;">
        <table>
            <tr>
                <td align="right">
                    充值日期：
                </td>
                <td style="width: 150px;" align="left">
                    <input id="StartDateTime" style="width: 150px;" class="mini-datepicker" format="yyyy-MM-dd" />
                </td>
                <td align="right">
                    至：
                </td>
                <td style="width: 150px;" align="left">
                    <input id="EndDateTime" style="width: 150px;" class="mini-datepicker" format="yyyy-MM-dd" />
                </td>
                <td style="width: 100px">
                    <a class="mini-button" iconcls="icon-search" onclick="search()">查 询</a>
                </td>
            </tr>
            <tr>
                <td align="right">
                    充值手机：
                </td>
                <td style="width: 150px;" align="left">
                    <input id="Mobile" class="mini-textbox" emptytext="请输入手机号码" style="width: 150px;"
                        onenter="onKeyEnter" />
                </td>
                <td align="right">
                    是否充值成功：
                </td>
                <td style="width: 150px;" align="left">
                    <input id="Status" shownullitem="true" allowinput="true" style="width: 150px;" class="mini-combobox"
                        textfield="text" valuefield="id" data="StatusData" />
                </td>
                <td style="width: 100px">
                    <a class="mini-button" iconcls="icon-reset" onclick="reset()">重 置</a>
                </td>
            </tr>
        </table>
    </div>
    <div class="mini-toolbar" style="padding: 2px; border-bottom: 0;">
        <table style="width: 100%;">
            <tr>
                <td style="width: 100%;">
                    <a class="mini-button" id="add" iconcls="icon-add" onclick="add();" plain="true">添加</a>
                    <a class="mini-button" id="remove" iconcls="icon-remove" onclick="remove()" plain="true">
                        删除</a> <span class="separator"></span><a class="mini-button" onclick="close()" iconcls="icon-close"
                            plain="true">关闭</a>
                </td>
            </tr>
        </table>
    </div>
    <div class="mini-fit">
        <div id="grid1" class="mini-datagrid" style="width: 100%; height: 100%;" idfield="OrderId"
            sizelist="[10,20,50,100]" pagesize="20">
            <div property="columns">
                <div type="indexcolumn" width="20">
                </div>
                <div field="FullName" width="100" headeralign="center" allowsort="false">
                    代理充值人员
                </div>
                <div field="Mobile" width="120" headeralign="center" allowsort="false">
                    充值手机
                </div>
                <div field="RechargeAmount" width="80" headeralign="center" allowsort="false">
                    充值金额
                </div>
                <div field="InputTime" width="130" headeralign="center" allowsort="true" dateformat="yyyy-MM-dd HH:mm:ss">
                    充值时间
                </div>
                <div field="Status" width="80" headeralign="center" allowsort="false" renderer="onStatusRenderer">
                    是否充值成功
                </div>
                <div field="StrErrorCode" width="60" headeralign="center" allowsort="false">
                    错误代码
                </div>
                <div field="ErrorText" width="200" headeralign="center" allowsort="false">
                    错误表述
                </div>
            </div>
        </div>
    </div>
    <div class="mini-toolbar" style="padding: 2px; border-top: 0;">
        <table>
            <tr>
                <td align="right">
                    成功充值总金额：
                </td>
                <td style="width: 150px;" align="left">
                    <span id="TotalSuccessAmount" style="color: green;"></span>￥
                </td>
                <td align="right">
                    失败充值总金额：
                </td>
                <td style="width: 150px;" align="left">
                    <span id="TotalFailureAmount" style="color: red;"></span>￥
                </td>
                <td align="right">
                    新订单总金额：
                </td>
                <td style="width: 150px;" align="left">
                    <span id="TotalNewAmount" style="color: blue;"></span>￥
                </td>
            </tr>
        </table>
    </div>
</body>

<script src="scripts/OrderMasterForm.js" type="text/javascript"></script>

</html>
